<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<script type="text/javascript">
$('#frmSite input[name="typename"]').val(v_typename);
$('#frmSite input[name="typecode"]').val(v_typecode);
</script>
<div style="padding: 5px;">
	<form id="frmSite" method="post" style="margin:0;padding:0">
	<table align="center">
		<tr>
			<td>分类名称：</td>
			<td>
				<input id="typename" name="typename" style="width:220px" class="easyui-validatebox"  readonly="readonly"/>		
				<input type="hidden" name="id" id="id" value="${Site.id }" />
				<input type="hidden"  id="addtime" name="addtime" value="${Site.addtime }"/>
				<input type="hidden"  id="typecode" name="typecode" value="${Site.typecode }"/>	
			</td>
		</tr> 
		<tr>
			<td>网址域名：</td>
			<td>
				 <input id="url" name="url" style="width:220px" value="${Site.url }" class="easyui-validatebox" required="true"/> 	
			</td>
		</tr>
		<tr>
			<td>异常网站：</td>
			<td>
			    <select class="easyui-combobox" editable="false" name="isabnormal" required="true" style="width:220px;" panelHeight="auto">  
					    <option value="0" <c:if test="${Site.isabnormal == 0}">selected="selected"</c:if>>正常</option>  
					    <option value="1" <c:if test="${Site.isabnormal == 1}">selected="selected"</c:if>>异常</option>  
				</select>
					
			</td>
		</tr> 
	</table>
	</form>
</div>